<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:rich="http://richfaces.org/rich"
	xmlns:a4j="http://richfaces.org/a4j">

<ui:composition>
	<h:outputStylesheet library="css" name="components/formField.css"></h:outputStylesheet>
	<h:form>
		<h:panelGrid cellspacing="6" columns="4">
			<h:commandButton value="Dane konta"
				action="#{jsfutils.redirect('mainContent/accountPage')}"
				rendered="#{clientLoginBean.logged}" styleClass="menuTopbarButton" />
			<h:commandButton value="Przysyłka"
				action="#{jsfutils.redirect('mainContent/sendingPage')}"
				styleClass="menuTopbarButton" />
			<h:commandButton value="Pomoc"
				action="#{jsfutils.redirect('mainContent/helpPage')}"
				styleClass="menuTopbarButton" />
			<h:commandButton value="Panel zarządzania"
				action="#{jsfutils.redirect('mainContent/adminPage')}"
				rendered="#{clientLoginBean.checkAdmin}"
				styleClass="menuTopbarButton" />
		</h:panelGrid>
	</h:form>
</ui:composition>
</html>